
import React, { Component, PropTypes } from 'react';
import { Button } from 'antd';
import { Link } from 'dva/router';


class List extends Component {

  static contextTypes = {

    router: PropTypes.object,
  };

  render() {

    console.log('login props', this)
    return (
      <div>
        <Button onClick={() => {this.context.router.goBack()}}>返回</Button>
      </div>
    );
  }
}

export default List;
